package com.zmn.plat.common.dto.category;

import com.zmn.common.dto.KvDTO;

import java.io.Serializable;
import java.util.List;

/**
 * 分类配置接口对象
 * @author duanzuocai
 * @version v1.0
 * @since 2019/08/30 15:33
 */
public class CategoryConfigDRO<T> implements Serializable {

    private static final long serialVersionUID = -3911965110223967430L;
    /** 服务分类：ID */
    private Integer servCategId;
    /** 一级产品分类：ID */
    private Integer categOneId;
    /** 二级产品分类：ID，value */
    private List<KvDTO<Integer, T>> categTwoIds;


    /** 非必填：服务分类：配置 */
    private T servCategValue;
    /** 非必填：一级产品分类：配置 */
    private T categOneValue;


    /** 非必填：服务分类名称 */
    private Integer servCategName;
    /** 非必填：一级产品分类名称 */
    private Integer categOneName;

    public Integer getServCategId() {
        return servCategId;
    }

    public void setServCategId(Integer servCategId) {
        this.servCategId = servCategId;
    }

    public Integer getCategOneId() {
        return categOneId;
    }

    public void setCategOneId(Integer categOneId) {
        this.categOneId = categOneId;
    }

    public List<KvDTO<Integer, T>> getCategTwoIds() {
        return categTwoIds;
    }

    public void setCategTwoIds(List<KvDTO<Integer, T>> categTwoIds) {
        this.categTwoIds = categTwoIds;
    }

    public T getServCategValue() {
        return servCategValue;
    }

    public void setServCategValue(T servCategValue) {
        this.servCategValue = servCategValue;
    }

    public T getCategOneValue() {
        return categOneValue;
    }

    public void setCategOneValue(T categOneValue) {
        this.categOneValue = categOneValue;
    }

    public Integer getServCategName() {
        return servCategName;
    }

    public void setServCategName(Integer servCategName) {
        this.servCategName = servCategName;
    }

    public Integer getCategOneName() {
        return categOneName;
    }

    public void setCategOneName(Integer categOneName) {
        this.categOneName = categOneName;
    }
}
